package com.mrxu.monitor.config;

import lombok.Data;

import java.util.List;

@Data
public class AttackConfig {

    private boolean enable = true;

    /**
     * 每秒请求次数超过认为攻击
     */
    private int limitCountPerSecond = 100;

    /**
     * 排除在外的ip，此ip请求多少次都不会认为是攻击
     */
    private List<String> excludeIp;
}
